package com.yootk.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.Configuration;

/**
 * 全局配置类
 */
@Configuration
//@ComponentScan({"com.yootk.service", "com.yootk.dao"})  // 定义扫描包
@ComponentScans({
        @ComponentScan("com.yootk.service"),
        @ComponentScan("com.yootk.dao")
})
public class GlobalConfig {
}
